package cn.edu.djtu.fw.dao;

import java.util.List;

import cn.edu.djtu.fw.model.User;

public interface UserMapper {
	int deleteByPrimaryKey(Integer uid);

	int insert(User user);

	int insertSelective(User user);

	User selectByPrimaryKey(Integer uid);

	int updateByPrimaryKeySelective(User user);

	int updateByPrimaryKey(User user);

	User selectByNameAndPwd(User user);

	List<User> getAllUser(User user);
}